package com.spider.spiderorderbasedata.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.spider.spiderorderbasedata.model.entity.DataOrganization;

/**
 * @author xiong.bo
 * @version 1.0
 * @date 2024/5/10 8:18 下午
 */
public interface DataOrganizationService extends IService<DataOrganization> {
    IPage<DataOrganization> selectPage(int page, int pageSize);

    DataOrganization findById(Long id);

    DataOrganization saveOrganization(DataOrganization dataOrganization);

    DataOrganization editOrganization(DataOrganization dataOrganization);

    Boolean deleteOrganization(Long id);
}
